#define _CRT_SECURE_NO_WARNINGS 1

//#include <iostream>
//#include <thread>
//#include <chrono>

//int main()
//{
//	std::cout << "countdown:\n";
//	for (int i = 10; i > 0; --i)
//	{
//		std::cout << i << std::endl;
//		//std::this_thread::sleep_for(std::chrono::duration<int>(1));
//		std::this_thread::sleep_for(std::chrono::milliseconds(1000));
//	}
//	std::cout << "Lift off!\n";
//	return 0;
//}

#include <iostream>
#include <ctime>
#include <ratio>
#include <chrono>

int main()
{
	using std::chrono::system_clock;

	std::chrono::duration<int, std::ratio<60 * 60 * 24> > one_day(1);
	system_clock::time_point today = system_clock::now();
	system_clock::time_point tomorrow = today + one_day;

	std::time_t tt;
	tt = system_clock::to_time_t(today);
	std::cout << "today is: " << ctime(&tt);

	tt = system_clock::to_time_t(tomorrow);
	std::cout << "tomorrow will be: " << ctime(&tt);

	return 0;
}